#ifndef COLOR_RENDER_TARGET_H
#define COLOR_RENDER_TARGET_H

#include "Framework.h"

#define RENDER_WIDTH 800
#define RENDER_HEIGHT 600

class ColorRenderTarget {
public:

	ColorRenderTarget(unsigned int width, unsigned int height);

	~ColorRenderTarget();

	void bind();

	void unbind();

	GLuint colorTextureID() const;


private:
	GLuint col_textureID_;
	GLuint frameBufferID_;
	GLuint depthBufferID_;
	GLuint width_;
	GLuint height_;

        // depth render buffer
        //GLuint depth_rb;

};

#endif
